package com.aqie.appletserver.controller.baiduapi;

import com.aqie.appletserver.utils.FileUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
@Slf4j
@RequestMapping("baidu/test")
public class TestController {

    public static void main(String[] args) throws IOException {
        FileUtils.printFile("hello.txt");
        // FileUtils.printFile(System.getProperty("user.dir")+"/data/16k-48000.m4a");
        // 项目根路径
        System.out.println(System.getProperty("user.dir")+"\\data\\hello.txt");

    }





}
